package com.filldream.sun.bean;

import com.filldream.sun.core.JsonUtil;

/**
 * 万年历实体类
 * @author RickSun
 *
 */
public class SunCalendar {
	/**
	 * 禁忌
	 */
	private String avoid;
	
	/**
	 * 事宜
	 */
	private String suit;
	
	/**
	 * 是否工作日   0-正常工作日  1-法定节假日  2-节假日调休补班 3-休息日 异常失败为-1
	 */
	private Integer isWork;
	
	/**
	 * 节假日名称
	 */
	private String holidayName;

	/**
	 * 传统节日
	 */
	private String chinaFestival;
	
	/**
	 * 农历日期
	 */
	private String lunar;
	
	/**
	 * 星期几
	 */
	private String week;

	//天干地支
	private String gan;

	//节假日备注
	private String holidayDesc;

	//节假日建议
	private String holidayRest;

	//节气
	private String termName;

	public String getTermName() {
		return termName;
	}

	public void setTermName(String termName) {
		this.termName = termName;
	}

	public String getAvoid() {
		return avoid;
	}

	public void setAvoid(String avoid) {
		this.avoid = avoid;
	}

	public String getSuit() {
		return suit;
	}

	public void setSuit(String suit) {
		this.suit = suit;
	}

	public Integer getIsWork() {
		return isWork;
	}

	public void setIsWork(Integer isWork) {
		this.isWork = isWork;
	}

	public String getHolidayName() {
		return holidayName;
	}

	public void setHolidayName(String holidayName) {
		this.holidayName = holidayName;
	}

	public String getLunar() {
		return lunar;
	}

	public void setLunar(String lunar) {
		this.lunar = lunar;
	}

	public String getWeek() {
		return week;
	}

	public void setWeek(String week) {
		this.week = week;
	}

	public String getGan() {
		return gan;
	}

	public void setGan(String gan) {
		this.gan = gan;
	}

	public String getHolidayDesc() {
		return holidayDesc;
	}

	public void setHolidayDesc(String holidayDesc) {
		this.holidayDesc = holidayDesc;
	}

	public String getHolidayRest() {
		return holidayRest;
	}

	public void setHolidayRest(String holidayRest) {
		this.holidayRest = holidayRest;
	}

	public String getChinaFestival() {
		return chinaFestival;
	}

	public void setChinaFestival(String chinaFestival) {
		this.chinaFestival = chinaFestival;
	}

	@Override
	public String toString() {
		return JsonUtil.toJson(this);
	}
}
